package com.shop.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author shop
 * @since 2018-12-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ShippingAddressTb implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 收货地址id
     */
    @TableId(value = "shipping_address_id", type = IdType.AUTO)
    private Integer shippingAddressId;

    /**
     * 用户id
     */
    private Integer shippingAddressUserId;

    /**
     * 收货地址
     */
    private String shippingAddress;

    /**
     * 是否使用1使用0不使用（处理用户多个地址情况）
     */
    private Integer shippingAddressWhetherUser;


}
